package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.UserRechargeGiveMoneyDao;
import com.frogs.ucenter.entity.UserRechargeGiveMoney;
import com.frogs.ucenter.service.UserRechargeGiveMoneyService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("userRechargeGiveMoneyService")
public class UserRechargeGiveMoneyServiceImpl extends BaseServiceImpl<UserRechargeGiveMoney> implements UserRechargeGiveMoneyService {
    @Autowired
    private UserRechargeGiveMoneyDao userRechargeGiveMoneyDao;

    public UserRechargeGiveMoneyServiceImpl() {
        super();
    }

    public UserRechargeGiveMoneyDao getUserRechargeGiveMoneyDao() {
        return userRechargeGiveMoneyDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<UserRechargeGiveMoney> getBaseDao() {
        return userRechargeGiveMoneyDao;
    }

    public void setUserRechargeGiveMoneyDao(UserRechargeGiveMoneyDao userRechargeGiveMoneyDao) {
        this.userRechargeGiveMoneyDao = userRechargeGiveMoneyDao;
    }
}